<?php
require_once ROOT_ADMIN_MODELS.DS.'Models_Base.php';
class Models_Quest_News extends Models_Base{
	public function __construct(){
		parent::__construct();
		$this->_key="id";
		$this->_table="quest_news";
	}
	
	public function delquest_newsByqid($qid){
		$sql = "DELETE FROM quest_news WHERE q_id = $qid";
		$this->_db->query($sql);
	}
}
